package com.myboot.vo;

import com.alibaba.fastjson.annotation.JSONField;
import org.hibernate.validator.constraints.Email;

/**
 * Created by liuhuan on 2017/1/10.
 */
public class UserVo {
    @JSONField(serialize = false)
    private int id;

    private String name;

    @JSONField(name = "邮箱")
    private String email;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
